#include "onlinethread.h"

OnlineThread::OnlineThread()
{
      sdk =new  My_SDK();
}
void OnlineThread::run()
{
        bool cse=sdk->online(ip);
        emit(sendOnline( cse));
}
void  OnlineThread::setIp(QString &ip)
{
       this->ip=ip;
}
OnlineThread::~OnlineThread(){
     delete sdk;
}
